#include <QCoreApplication>
#include <iostream>
#include <math.h>

using namespace std;

int main()
{
    int a,b,c,s;
    cout <<"Vvedite chislo A: \n";
    cin >>a;
    cout <<"Vvedite chislo B: \n";
    cin >>b;
    cout <<"Vvedite chislo C: \n";
    cin >>c;
    if (a<b && a<c)
            s=b+c;
        else
        if (b<a && b<c)
            s=a+c;
        else
            s=a+b;


        cout <<"Summa="<<s<<endl;
    return 0;
}
